package org.shop.service.impl;

import java.util.List;
import java.util.Map;

import org.shop.dao.HotSearchMapper;
import org.shop.entity.HotSearch;
import org.shop.service.HotSearchService;
import org.shop.service.base.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class HotSearchServiceImpl extends BaseServiceImpl<HotSearch, Long> implements HotSearchService{

	@Autowired
	private HotSearchMapper hotSearchMapper;
	
	
	@Override
	public List<HotSearch> getHotAndRecentlySearchResult(Map<String, Object> paramMap) {
		return hotSearchMapper.getHotAndRecentlySearchResult(paramMap);
	}


	@Override
	public HotSearch getHostSearchInfo(HotSearch hotSearch) {
		return hotSearchMapper.getHostSearchInfo(hotSearch);
	}
	
	
	
	
}